#include <stdio.h>

void f1() {
    int a = 0;
    printf("f1 a = %d\n", a++);
}

void f2() {
    static int a = 0;
    printf("f2 a = %d\n", a++);
}

int main() {
    printf("普通局部变量\n");
    f1();
    f1();
    f1();
    printf("static 局部变量\n");
    f2();
    f2();
    f2();
    return 0;
}